package  test;

import java.util.Map;
import java.util.Set;

import  bean.XMLBean;
import  util.XMLParse;

public class APP {

	
	public static void main(String[] args) {
		
		Map<String, XMLBean> parseXML = XMLParse.parseXML("D:/java/Workspaces/MyEclipse 8.5 M1/mvc/WebRoot/WEB-INF/struts-config.xml");
		
		Set<String> keySet = parseXML.keySet();
		
		for(String key :keySet){
			XMLBean xmlBean = parseXML.get(key);
			
			System.out.println(xmlBean.toString());
		}

		
	}

}
